package com.j283_5.wisdom_park.vo.confcenter_management;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class RoleinfoVo {
    private static final long serialVersionUID = 1L;

    /**
     * 角色信息id
     */
    @TableId(value = "ro_id", type = IdType.AUTO)
    private Integer roId;
    private String roName;
    private Integer roType;
    private Integer roState;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Timestamp roCreatetime;
    private Integer adId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Timestamp roUpdatetime;

    public RoleinfoVo(String roName, Integer roType, Integer roState, Timestamp roCreatetime, Integer adId) {
        this.roName = roName;
        this.roType = roType;
        this.roState = roState;
        this.roCreatetime = roCreatetime;
        this.adId = adId;
    }
}
